<?php /* Smarty version Smarty-3.1.14, created on 2017-08-23 08:42:55
         compiled from "E:\phpStudy\WWW\zyshop\admin\templates\goods_type_edit.html" */ ?>
<?php /*%%SmartyHeaderCode:18226599ccf8f986f79-62732653%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f59f4220a154309af18a140751595bd0cc1328b8' => 
    array (
      0 => 'E:\\phpStudy\\WWW\\zyshop\\admin\\templates\\goods_type_edit.html',
      1 => 1502348103,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '18226599ccf8f986f79-62732653',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'show' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_599ccf8fb1c4f6_60611217',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_599ccf8fb1c4f6_60611217')) {function content_599ccf8fb1c4f6_60611217($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<style>
input {	width: 200px;}
textarea {	width: 350px;	height: 100px;}
</style>
<body>
<div class="fixed-bar">
  <div class="item-title">
    <h3>编辑类型</h3>
  </div>
</div>
<div class="fixed_bottom">
  <form method="post" action="" enctype="multipart/form-data" id="aspnetForm" name="form1">
  	<input type="hidden" name="cat_id" value="<?php echo $_smarty_tpl->tpl_vars['show']->value['cat_id'];?>
" />
    <table style=" width:100%;" cellpadding="0" cellspacing="0" class="table tb-type2">
      <tbody>
        <tr>
          <td class="firtd"> 类型名称:</td>
          <td><input type="text" name="cat_name" value="<?php echo $_smarty_tpl->tpl_vars['show']->value['cat_name'];?>
" required></td>
        </tr>
        <tr>
          <td class="firtd"> 排序:</td>
          <td><input type="text" name="sort_order" value="<?php echo $_smarty_tpl->tpl_vars['show']->value['sort_order'];?>
" required></td>
        </tr>
        <tr>
          <td class="firtd"> 属性说明:</td>
          <td><textarea name="attr_group" style="min-height:120px; max-height:120px;"><?php echo $_smarty_tpl->tpl_vars['show']->value['attr_group'];?>
</textarea></td>
        </tr>
        <tr>
          <td class="style1">&nbsp;</td>
          <td>
              <a href="JavaScript:void(0);" class="btn" onclick="reset()"><span>重置</span></a>
              <a href="JavaScript:void(0);" class="btn" onclick="$('#tj').click()"><span>确认提交</span></a>
          </td>
        </tr>
      </tbody>
    </table>
    <input type="reset" id="cz" style="display: none;">
    <input type="submit" id="tj" style="display:none;";>
  </form>
</div>
</body>
<script>
    // 重置方法
    function reset(){
        $('input').val('');
        $('textarea').text('');
    }
</script>
</html><?php }} ?>